package cn.xuguowen.user.designPatten.factory.hsp_abstract_factory;


/**
 * ClassName: PizzaStore
 * Package: cn.xuguowen.user.designPatten.factory.hsp_abstract_factory
 * Description:
 * 客户端
 *
 * @Author 徐国文
 * @Create 2023/4/26 15:24
 * @Version 1.0
 */
public class PizzaStore {

    public static void main(String[] args) {
        // 制定北京披萨
        // BJPizzaFactory factory = new BJPizzaFactory();

        // 制定伦敦披萨
        LDPizzaFactory factory = new LDPizzaFactory();

        // 订购披萨
        OrderPizza orderPizza = new OrderPizza(factory);

    }
}
